<template>
  <view class="container yh_flex_y">
    <view class="top">
      <image src="../../static/images/logo.png" class="logo" />
    </view>
    <view class="content yh_flex_y">
      <input type="text" maxlength="100" class="input_l" v-model="form.Name"  placeholder="请输入姓名" />
      <input type="text" maxlength="11" class="input_l" v-model="form.Mobile" placeholder="请输入手机号码" />
      <div class="yh_flex_x mobile_outer">
        <input
          type="tel"
          class="input_mobile"
          maxlength="6"
          v-model="form.Code"
          placeholder="请输入验证码"
        />
        <button class="input_code" @click="getCode" :disabled="form.disabled">{{form.CodeValue}}</button>
      </div>
      <ad-picker @adCho="adCho"></ad-picker>
      <input
        type="text"
        class="input_l"
        maxlength="200"
        v-model="form.Address"
        placeholder="请输入详细地址"
      />
      <view class="btn_sub" @click="postInfo" >提交</view>
    </view>
    <view class="foot yh_flex_x">
      <button class="btn_explain" hover-class="none"></button>
      <button class="btn_record" hover-class="none"></button>
    </view>
  </view>
</template>
<script src="./control.js"></script>
<style lang="scss" src="./style.scss" scoped></style>